#include <iostream>
#include "clocker.h"
#include "camera_source.hpp"

int main(const int argc, const char *argv[])
{
    CameraSource cam;
    struct clocker_object clk;

    cam.Init();
    cam.RecvFrame([&](uint8_t *buf, uint32_t len){
        clocker_end(&clk);
        clocker_start(&clk);
    });

    cam.DeInit();
    return 0;
}